#include<stdio.h>
#include<stdlib.h>
char* strcpy(char* src)
{
	int i=0,j;
	while(src[i]!='\0'){
	    i++;
	}
	char *str=(char*)malloc(sizeof(char)*(i+1));
	for(j=0;j<i;j++){
		str[j]=src[j];
	}
	str[j]='\0';
	return str;
}
int main(){
    char* sum;
	char src[7]="123456";
	sum=strcpy(src);
	puts(sum);
	return 0;
}
